//
//  FLHttpParser.m
//  Cat
//
//  Created by lushitong on 2018/12/1.
//  Copyright © 2018年 lushitong. All rights reserved.
//

#import "FLHttpParser.h"

@implementation FLHttpParser

+ (NSInteger)rcValueOfResponse:(NSDictionary *)dict {
	return [dict[@"code"] integerValue];
}

+ (NSString *)messageOfResponse:(NSDictionary *)dict {
	return dict[@"msg"];
}

+ (NSDictionary *)dataDictOfResponse:(NSDictionary *)dict {
	return dict[@"data"];
}

@end
